﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Model
{
    ///<summary>
    ///货架
    ///</summary>
    [SugarTable("t_Shelf")]
    public partial class t_Shelf
    {
        public t_Shelf()
        {


        }
        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:货架编码
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Code { get; set; }

        /// <summary>
        /// Desc:货架名称
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Name { get; set; }

        /// <summary>
        /// Desc:货架号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Number { get; set; }

        /// <summary>
        /// Desc:库房Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int WhId { get; set; }

        /// <summary>
        /// Desc:库区Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int AreaId { get; set; }

        /// <summary>
        /// Desc:库区编码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? AreaCode { get; set; }

        /// <summary>
        /// Desc:所属库区
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? AreaName { get; set; }

        /// <summary>
        /// Desc:状态：0-禁用；1-正常
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int Status { get; set; }

        /// <summary>
        /// Desc:排序号
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int DisplayOrder { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Remark { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// Desc:创建人Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? CreateUserId { get; set; }

        /// <summary>
        /// Desc:创建人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? CreateUserName { get; set; }

        /// <summary>
        /// Desc:修改时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// Desc:修改用户Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? ModifyUserId { get; set; }

        /// <summary>
        /// Desc:修改人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ModifyUserName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? WhName { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? CellCount { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? DisabledCellCount { get; set; }

        /// <summary>
        /// Desc:深度，1：单深位，2：俩深位，3：三深位，4：四深位，5：五深位
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Depth { get; set; }

        /// <summary>
        /// Desc:货架类型：1-轻型货架；2-重型货架
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? ShelfType { get; set; }

        /// <summary>
        /// Desc:巷道Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int RoutewayId { get; set; }

    }
}
